package com.ruoyi.system.dto;

import com.ruoyi.common.core.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@Data
public class AddMemberDto extends BaseDto {
    @NotBlank(message = "账号不能为空")
    private String userName;
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "下级点位")
    @DecimalMin(value = "0.01",message = "不能小于0.01")
    private BigDecimal bankRate ;

    @DecimalMin(value = "0.01",message = "不能小于0.01")
    private BigDecimal zfbRate ;



}
